package com.css.zfzx.sjcj.modules.drill.Entity;

import cn.afterturn.easypoi.excel.annotation.Excel;

import javax.persistence.*;
import java.util.Objects;

/**
 * @Description:
 * @Author: Li Helei
 * @CreateDate: 2021/1/18 10:33
 * @Version: 1.0
 **/
@Entity
@Table(name = "qh_y08", schema = "base")
public class QhY08Entity {
    private String id;
    @Excel(name = "序号",orderNum = "1")
    private String code;
    @Excel(name = "样品编号",orderNum = "2")
    private String specimenCode;
    @Excel(name = "取样深度顶点(m)",orderNum = "3")
    private Double specimenStartDepth;
    @Excel(name = "取样深度底点(m)",orderNum = "4")
    private Double specimenEndDepth;
    @Excel(name = "土层名称",orderNum = "5")
    private String soilName;
    @Excel(name = "密度(kg/m3)",orderNum = "6")
    private Double naturalDensity;
    @Excel(name = "模量比(G/Gmax)剪应变(γ)（10-4×0.05)",orderNum = "7")
    private Double modulusShearStrain005;
    @Excel(name = "模量比(G/Gmax)剪应变(γ)（10-4×0.10)",orderNum = "8")
    private Double modulusShearStrain010;
    @Excel(name = "模量比(G/Gmax)剪应变(γ)（10-4×0.50)",orderNum = "9")
    private Double modulusShearStrain050;
    @Excel(name = "模量比(G/Gmax)剪应变(γ)（10-4×1.00)",orderNum = "10")
    private Double modulusShearStrain100;
    @Excel(name = "模量比(G/Gmax)剪应变(γ)（10-4×5.00)",orderNum = "11")
    private Double modulusShearStrain500;
    @Excel(name = "模量比(G/Gmax)剪应变(γ)（10-4×10.00)",orderNum = "12")
    private Double modulusShearStrain1000;
    @Excel(name = "模量比(G/Gmax)剪应变(γ)（10-4×50.00)",orderNum = "13")
    private Double modulusShearStrain5000;
    @Excel(name = "模量比(G/Gmax)剪应变(γ)（10-4×100.00)",orderNum = "14")
    private Double modulusShearStrain10000;
    @Excel(name = "阻尼比(λ)剪应变(γ)（10-4×0.05)",orderNum = "15")
    private Double dampShearStrain005;
    @Excel(name = "阻尼比(λ)剪应变(γ)（10-4×0.10)",orderNum = "16")
    private Double dampShearStrain010;
    @Excel(name = "阻尼比(λ)剪应变(γ)（10-4×0.50)",orderNum = "17")
    private Double dampShearStrain050;
    @Excel(name = "阻尼比(λ)剪应变(γ)（10-4×1.00)",orderNum = "18")
    private Double dampShearStrain100;
    @Excel(name = "阻尼比(λ)剪应变(γ)（10-4×5.00)",orderNum = "19")
    private Double dampShearStrain500;
    @Excel(name = "阻尼比(λ)剪应变(γ)（10-4×10.00)",orderNum = "20")
    private Double dampShearStrain1000;
    @Excel(name = "阻尼比(λ)剪应变(γ)（10-4×50.00)",orderNum = "21")
    private Double dampShearStrain5000;
    @Excel(name = "阻尼比(λ)剪应变(γ)（10-4×100.00)",orderNum = "22")
    private Double dampShearStrain10000;
    private String isValid;
    private String drillId;

    @Id
    @Column(name = "id")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Basic
    @Column(name = "code")
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Basic
    @Column(name = "specimen_code")
    public String getSpecimenCode() {
        return specimenCode;
    }

    public void setSpecimenCode(String specimenCode) {
        this.specimenCode = specimenCode;
    }

    @Basic
    @Column(name = "specimen_start_depth")
    public Double getSpecimenStartDepth() {
        return specimenStartDepth;
    }

    public void setSpecimenStartDepth(Double specimenStartDepth) {
        this.specimenStartDepth = specimenStartDepth;
    }

    @Basic
    @Column(name = "specimen_end_depth")
    public Double getSpecimenEndDepth() {
        return specimenEndDepth;
    }

    public void setSpecimenEndDepth(Double specimenEndDepth) {
        this.specimenEndDepth = specimenEndDepth;
    }

    @Basic
    @Column(name = "soil_name")
    public String getSoilName() {
        return soilName;
    }

    public void setSoilName(String soilName) {
        this.soilName = soilName;
    }

    @Basic
    @Column(name = "natural_density")
    public Double getNaturalDensity() {
        return naturalDensity;
    }

    public void setNaturalDensity(Double naturalDensity) {
        this.naturalDensity = naturalDensity;
    }

    @Basic
    @Column(name = "modulus_shear_strain_005")
    public Double getModulusShearStrain005() {
        return modulusShearStrain005;
    }

    public void setModulusShearStrain005(Double modulusShearStrain005) {
        this.modulusShearStrain005 = modulusShearStrain005;
    }

    @Basic
    @Column(name = "modulus_shear_strain_010")
    public Double getModulusShearStrain010() {
        return modulusShearStrain010;
    }

    public void setModulusShearStrain010(Double modulusShearStrain010) {
        this.modulusShearStrain010 = modulusShearStrain010;
    }

    @Basic
    @Column(name = "modulus_shear_strain_050")
    public Double getModulusShearStrain050() {
        return modulusShearStrain050;
    }

    public void setModulusShearStrain050(Double modulusShearStrain050) {
        this.modulusShearStrain050 = modulusShearStrain050;
    }

    @Basic
    @Column(name = "modulus_shear_strain_100")
    public Double getModulusShearStrain100() {
        return modulusShearStrain100;
    }

    public void setModulusShearStrain100(Double modulusShearStrain100) {
        this.modulusShearStrain100 = modulusShearStrain100;
    }

    @Basic
    @Column(name = "modulus_shear_strain_500")
    public Double getModulusShearStrain500() {
        return modulusShearStrain500;
    }

    public void setModulusShearStrain500(Double modulusShearStrain500) {
        this.modulusShearStrain500 = modulusShearStrain500;
    }

    @Basic
    @Column(name = "modulus_shear_strain_1000")
    public Double getModulusShearStrain1000() {
        return modulusShearStrain1000;
    }

    public void setModulusShearStrain1000(Double modulusShearStrain1000) {
        this.modulusShearStrain1000 = modulusShearStrain1000;
    }

    @Basic
    @Column(name = "modulus_shear_strain_5000")
    public Double getModulusShearStrain5000() {
        return modulusShearStrain5000;
    }

    public void setModulusShearStrain5000(Double modulusShearStrain5000) {
        this.modulusShearStrain5000 = modulusShearStrain5000;
    }

    @Basic
    @Column(name = "modulus_shear_strain_10000")
    public Double getModulusShearStrain10000() {
        return modulusShearStrain10000;
    }

    public void setModulusShearStrain10000(Double modulusShearStrain10000) {
        this.modulusShearStrain10000 = modulusShearStrain10000;
    }

    @Basic
    @Column(name = "damp_shear_strain_005")
    public Double getDampShearStrain005() {
        return dampShearStrain005;
    }

    public void setDampShearStrain005(Double dampShearStrain005) {
        this.dampShearStrain005 = dampShearStrain005;
    }

    @Basic
    @Column(name = "damp_shear_strain_010")
    public Double getDampShearStrain010() {
        return dampShearStrain010;
    }

    public void setDampShearStrain010(Double dampShearStrain010) {
        this.dampShearStrain010 = dampShearStrain010;
    }

    @Basic
    @Column(name = "damp_shear_strain_050")
    public Double getDampShearStrain050() {
        return dampShearStrain050;
    }

    public void setDampShearStrain050(Double dampShearStrain050) {
        this.dampShearStrain050 = dampShearStrain050;
    }

    @Basic
    @Column(name = "damp_shear_strain_100")
    public Double getDampShearStrain100() {
        return dampShearStrain100;
    }

    public void setDampShearStrain100(Double dampShearStrain100) {
        this.dampShearStrain100 = dampShearStrain100;
    }

    @Basic
    @Column(name = "damp_shear_strain_500")
    public Double getDampShearStrain500() {
        return dampShearStrain500;
    }

    public void setDampShearStrain500(Double dampShearStrain500) {
        this.dampShearStrain500 = dampShearStrain500;
    }

    @Basic
    @Column(name = "damp_shear_strain_1000")
    public Double getDampShearStrain1000() {
        return dampShearStrain1000;
    }

    public void setDampShearStrain1000(Double dampShearStrain1000) {
        this.dampShearStrain1000 = dampShearStrain1000;
    }

    @Basic
    @Column(name = "damp_shear_strain_5000")
    public Double getDampShearStrain5000() {
        return dampShearStrain5000;
    }

    public void setDampShearStrain5000(Double dampShearStrain5000) {
        this.dampShearStrain5000 = dampShearStrain5000;
    }

    @Basic
    @Column(name = "damp_shear_strain_10000")
    public Double getDampShearStrain10000() {
        return dampShearStrain10000;
    }

    public void setDampShearStrain10000(Double dampShearStrain10000) {
        this.dampShearStrain10000 = dampShearStrain10000;
    }

    @Basic
    @Column(name = "is_valid")
    public String getIsValid() {
        return isValid;
    }

    public void setIsValid(String isValid) {
        this.isValid = isValid;
    }

    @Basic
    @Column(name = "drill_id")
    public String getDrillId() {
        return drillId;
    }

    public void setDrillId(String drillId) {
        this.drillId = drillId;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        QhY08Entity that = (QhY08Entity) o;
        return Objects.equals(id, that.id) &&
                Objects.equals(code, that.code) &&
                Objects.equals(specimenCode, that.specimenCode) &&
                Objects.equals(specimenStartDepth, that.specimenStartDepth) &&
                Objects.equals(specimenEndDepth, that.specimenEndDepth) &&
                Objects.equals(soilName, that.soilName) &&
                Objects.equals(naturalDensity, that.naturalDensity) &&
                Objects.equals(modulusShearStrain005, that.modulusShearStrain005) &&
                Objects.equals(modulusShearStrain010, that.modulusShearStrain010) &&
                Objects.equals(modulusShearStrain050, that.modulusShearStrain050) &&
                Objects.equals(modulusShearStrain100, that.modulusShearStrain100) &&
                Objects.equals(modulusShearStrain500, that.modulusShearStrain500) &&
                Objects.equals(modulusShearStrain1000, that.modulusShearStrain1000) &&
                Objects.equals(modulusShearStrain5000, that.modulusShearStrain5000) &&
                Objects.equals(modulusShearStrain10000, that.modulusShearStrain10000) &&
                Objects.equals(dampShearStrain005, that.dampShearStrain005) &&
                Objects.equals(dampShearStrain010, that.dampShearStrain010) &&
                Objects.equals(dampShearStrain050, that.dampShearStrain050) &&
                Objects.equals(dampShearStrain100, that.dampShearStrain100) &&
                Objects.equals(dampShearStrain500, that.dampShearStrain500) &&
                Objects.equals(dampShearStrain1000, that.dampShearStrain1000) &&
                Objects.equals(dampShearStrain5000, that.dampShearStrain5000) &&
                Objects.equals(dampShearStrain10000, that.dampShearStrain10000) &&
                Objects.equals(isValid, that.isValid) &&
                Objects.equals(drillId, that.drillId);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, code, specimenCode, specimenStartDepth, specimenEndDepth, soilName, naturalDensity, modulusShearStrain005, modulusShearStrain010, modulusShearStrain050, modulusShearStrain100, modulusShearStrain500, modulusShearStrain1000, modulusShearStrain5000, modulusShearStrain10000, dampShearStrain005, dampShearStrain010, dampShearStrain050, dampShearStrain100, dampShearStrain500, dampShearStrain1000, dampShearStrain5000, dampShearStrain10000, isValid, drillId);
    }
}
